package team.zero.lemon.module.workflow.entity;

import team.zero.lemon.module.workflow.entity.Activity;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by bolin on 2016/10/19.
 */
public class NextActivity {
    private List<Activity> forward;
    private List<Activity> back;

    public List<Activity> getForward() {
        if (forward == null) {
            forward = new ArrayList<Activity>();
        }
        return forward;
    }

    public void setForward(List<Activity> forward) {
        this.forward = forward;
    }

    public List<Activity> getBack() {
        if (back == null) {
            back = new ArrayList<Activity>();
        }
        return back;
    }

    public void setBack(List<Activity> back) {
        this.back = back;
    }
}
